<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>凤凰基金</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>skin/css/pf/link.css"/>
<script type="text/javascript" src="<%=basePath%>skin/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=basePath%>skin/js/pf/script.js"></script>
<script type="text/javascript" src="<%=basePath%>skin/js/common.js"></script>
</head>

<body>
<c:import url="/layouts/top.jsp" />
<!--二级页面大图-->
<div id="publics">
	<div class="bg" style="background:url(<%=basePath%>skin/images/pf/about_bg.jpg) center no-repeat;">
		<p class="bgs" style="background:url(<%=basePath%>skin/images/pf/about_bg1.jpg) center no-repeat;"></p>
	</div>
</div>
<!--二级页内容区-->
<div id="second">
	<div class="second">
			<div class="nav">
				<c:forEach items="${companyinfoTypes }" var="companyinfoType" varStatus="status">
					<c:choose>
						<c:when test="${status.first && (companyinfoType.belongto == 1 || companyinfoType.belongto == 2)}">
							<p class="title">${companyinfoType.type }</p>
						</c:when>
						<c:otherwise>
							<c:choose>
							<c:when test="${not empty companyinfoType.url }">
								<a href="${companyinfoType.url }" <c:if test="${ciType.id == companyinfoType.id }">class="click"</c:if>>
							</c:when>
							<c:otherwise>
								<a href="<%=basePath%>shop/companyinfo/list.shtml?belongto=${paramBean.belongto}&companyinfoTypeId=${companyinfoType.id}" <c:if test="${ciType.id == companyinfoType.id }">class="click"</c:if>>
							</c:otherwise>
							</c:choose>
								${companyinfoType.type }
							</a>
						</c:otherwise>
					</c:choose>
				</c:forEach>
			</div>
		<div class="right">
			<div class="intro">
				<c:forEach items="${ciType.companyinfos }" var="companyinfo" varStatus="status">
					<c:if test="${status.first }">${companyinfo.content}</c:if>
				</c:forEach>
			</div>
		</div>
		<div id="clear"></div><!--清除浮动-->
	</div>
</div>
<c:import url="/layouts/foot.jsp" />
</body>
</html>
